package com.example.administrator.babymusic.presenter;

import android.content.Context;

import com.example.administrator.babymusic.net.STNetTask;


public class BasePresenter {
    protected Context context;
    protected STNetTask.BeforeQueryHook beforeQueryHook;
    protected STNetTask.AfterQueryHook afterQueryHook;

    protected BasePresenter(Context context) {
        this.context = context;
    }
    protected BasePresenter(){

    }

    public void setBeforeQueryHook(STNetTask.BeforeQueryHook hook) {
        this.beforeQueryHook = hook;
    }

    public void setAfterQueryHook(STNetTask.AfterQueryHook hook) {
        this.afterQueryHook = hook;
    }
}
